import request from '@/utiles/request.js'
import store from '@/store'
// 用户资料
export const userInfoApi = () => {
  return request({
    url: '/user',
    headers: { authorization: store.state.token }
  })
}
